.gzdsx-pos-dialog {
    position: absolute;
    z-index: 9999;
    background-color: #ffffff;
    border: 1px solid var(--pos-border-color);
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    transition: all .3s;
    width: 50%;
    max-height: 80%;
    display: flex;
    flex-direction: column;

    &__overlayer {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        background-color: rgba(0, 0, 0, 0.7);
    }

    &__header {
        padding: 15px;
        border-bottom: 1px solid var(--pos-border-color);
        display: flex;
        column-gap: 10px;

        .title {
            flex: 1;
            font-size: 18px;
            font-weight: 600;
            line-height: 20px;
        }

        .close {
            font-size: 24px;
            line-height: 20px;
            cursor: pointer;
            color: #777777;

            &:hover {
                color: #333333;
            }
        }
    }

    &__body {
        flex: 1;
        overflow-x: hidden;
        overflow-y: auto;
    }

    &__content {
        display: block;
        padding: 15px;
        height: 100%;
        overflow-y: auto;
    }

    &__footer {
        display: flex;
        justify-content: flex-end;
        column-gap: 1rem;
        padding: 15px;
    }

    &__confirm {
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
    }
}